package com.wkbb.sports.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.wkbb.common.base.BaseService;
import com.wkbb.sports.dto.TeachDocumentDto;
import com.wkbb.sports.dto.TeachPlanDetailDto;
import com.wkbb.sports.dto.TeachPlanDto;
import com.wkbb.sports.model.HlifeTeachPlanDetail;

public interface TeachPlanDetailService extends BaseService<HlifeTeachPlanDetail> {

    void publishPlanDetail(Long teachPlanDetailId);

    List<TeachPlanDetailDto> selClassPlanDetail(Map<String, Object> map);

    int selMaxCourseSeq(TeachPlanDetailDto teachPlanDetailDto);

    void addDocument(TeachDocumentDto teachDocumentDto);

    List<TeachDocumentDto> selDocument(String documentIds);

    void courseTeachAgain(HlifeTeachPlanDetail hlifeTeachPlanDetail);

    boolean bindDocuments(Long teachPlanDetailId, String documentIds);
    
    void updDocument(TeachDocumentDto teachDocumentDto);
    
    void updTeachPlanDetail(HlifeTeachPlanDetail hlifeTeachPlanDetail);
    
    PageInfo<TeachDocumentDto> selTeachDocumentList(Map<String, Object> params, int pageNo, int pageSize)throws Exception;
    
    PageInfo<TeachPlanDetailDto> selPlanDetail(Map<String, Object> params, int pageNo, int pageSize)throws Exception;

    boolean delTeachDocument(Long id);

    boolean bindFiles(Long teachPlanDetailId, String fileIds);
}
